@import "../../style/constant.scss";

.goodsItem {
  display: flex;
  flex-direction: row;
  padding: 16px 0;
}

.goodsImage {
  background-color: #F4F4F4;
  border-radius: 6px;
  width: 80px;
  height: 80px;
  min-width: 80px;
}

.content {
  display: flex;
  margin-left: 12px;
  flex-direction: column;
}

.nameBox {
  line-height: 22px;
}
.goodsName {
  color: $primaryBlack;
  font-weight: 500;
  font-size: 16px;
  line-height: 22px;
  @include line-ellipsis-x(1);
}
.descBox {
  margin-top: 1px;
  line-height: 18px;
}
.goodsDesc {
  color: $weak;
  font-size: 13px;
  line-height: 18px;
  @include line-ellipsis-x(1);
}

.goodsPriceRow {
  margin-top: 17px;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  line-height: 17px;
}

.goodsPrice {
  color: $primaryBlack;
  font-size: 16px;
  line-height: 17px;
}

.goodsPriceSmall {
  font-size: 12px;
}

.originalPrice {
  font-size: 14px;
  margin-left: 8px;
  line-height: 20px;
  color: $weaker;
  text-decoration: line-through;
}
